home *** CD-ROM | disk | FTP | other *** search
/ Aminet 15 / Aminet 15 - Nov 1996.iso / Aminet / dev / misc / libx11inc.lha / X11 / Xm / ShellEP.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-13  |  1.9 KB  |  84 lines

  1. /* 
  2.  * (c) Copyright 1989, 1990, 1991, 1992 OPEN SOFTWARE FOUNDATION, INC.
  3.  * ALL RIGHTS RESERVED
  4. */ 
  5. /*   $RCSfile: ShellEP.h,v $ $Revision: 1.9 $ $Date: 92/05/14 12:57:24 $ */
  6. /*
  7. *  (c) Copyright 1989, 1990  DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS. */
  8. /*
  9. *  (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 HEWLETT-PACKARD COMPANY */
  10. /*
  11. *  (c) Copyright 1988 MASSACHUSETTS INSTITUTE OF TECHNOLOGY  */
  12. /*
  13. *  (c) Copyright 1988 MICROSOFT CORPORATION */
  14. #ifndef _XmShellEP_h
  15. #define _XmShellEP_h
  16.  
  17. #include <Xm/DesktopP.h>
  18.  
  19. #ifdef __cplusplus
  20. extern "C" {
  21. #endif
  22.  
  23.  
  24. #define XmInheritEventHandler        ((XtEventHandler)_XtInherit)
  25.  
  26. #define _XmRAW_MAP 0
  27. #define _XmPOPUP_MAP 1
  28. #define _XmMANAGE_MAP 2
  29.  
  30.  
  31. #ifndef XmIsShellExt
  32. #define XmIsShellExt(w)    XtIsSubclass(w, xmShellExtObjectClass)
  33. #endif /* XmIsShellExt */
  34.  
  35. typedef struct _XmShellExtRec *XmShellExtObject;
  36. typedef struct _XmShellExtClassRec *XmShellExtObjectClass;
  37. externalref WidgetClass xmShellExtObjectClass;
  38.  
  39.  
  40. typedef struct _XmShellExtClassPart{
  41.     XtEventHandler    structureNotifyHandler;
  42.     XtPointer        extension;
  43. }XmShellExtClassPart, *XmShellExtClassPartPtr;
  44.  
  45. typedef struct _XmShellExtClassRec{
  46.     ObjectClassPart        object_class;
  47.     XmExtClassPart        ext_class;
  48.     XmDesktopClassPart         desktop_class;
  49.     XmShellExtClassPart     shell_class;
  50. }XmShellExtClassRec;
  51.  
  52. typedef struct {
  53.     unsigned long    lastConfigureRequest;
  54.     Boolean        useAsyncGeometry;
  55. } XmShellExtPart, *XmShellExtPartPtr;
  56.  
  57. externalref XmShellExtClassRec     xmShellExtClassRec;
  58.  
  59. typedef struct _XmShellExtRec{
  60.     ObjectPart            object;
  61.     XmExtPart            ext;
  62.     XmDesktopPart        desktop;
  63.     XmShellExtPart        shell;
  64. }XmShellExtRec;
  65.  
  66.  
  67. /********    Private Function Declarations    ********/
  68. #ifdef _NO_PROTO
  69.  
  70.  
  71. #else
  72.  
  73.  
  74. #endif /* _NO_PROTO */
  75. /********    End Private Function Declarations    ********/
  76.  
  77.  
  78. #ifdef __cplusplus
  79. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  80. #endif
  81.  
  82. #endif /* _XmShellEP_h */
  83. /* DON'T ADD STUFF AFTER THIS #endif */
  84.